import { Entity, Column } from 'typeorm';
import { BaseEntity } from '../../../common/base.entity';

@Entity('base_sys_user_role', { schema: 'midway-admin' })
export class UserRoleEntity extends BaseEntity {
  @Column('int', { name: 'userId', comment: '用户ID' })
  userId: number;

  @Column('int', { name: 'roleId', comment: '角色ID' })
  roleId: number;
}
